package com.appli.BURPVOMITFARTLOL;

import java.util.TimerTask;

import android.content.Context;
import android.media.MediaPlayer;

public class JokeTimer extends TimerTask{

	Context ctxP = null;
	int sound = 0;
	
	public JokeTimer(Context ctx, int soundIn){
		ctxP = ctx;
		sound = soundIn;
	}

	@Override
	public void run() {
		try{
			MediaPlayer.create(ctxP, sound).start();
		}catch (Exception E){
		}
	}
}